package com.ithema.controller;

import org.springframework.web.bind.annotation.*;

/**
 * <dl>
 * <dd>描述: ~节点业务逻辑实现</dd>
 * <dd>创建时间：  11:48 2020/7/14</dd>
 * <dd>创建人： zz</dd>
 * <dt>版本历史: </dt>
 * <pre>
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2020/7/14      guodong       1.0        1.0 Version
 * </pre>
 * </dl>
 */
@RestController
public class HelloController {

    /*
        @GetMapping("/hello")
        等同于
        @RequestMapping(value = "hello", method = RequestMethod.GET)

        @PostMapping("/hello")
          等同于
        @RequestMapping(value = "hello", method = RequestMethod.POST)
     */
    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }
}
